Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


PreviousPrevious NextNext

~Yentl Opresaskiakol 22.Jan.04 08:15 AM a Web browser
Applications Development 6.0.2 CF2 Windows NT

I have a main document (opened in the UI), with a button on it. The button puts all the document's response docs into a NotesDocumentCollection using "Set dc = thisdoc.Responses"
I want to check if we have a response doc based on a particular form, and: if it exists, open it in the UI, and if it doesn't exist, create it and let the user fill in stuff.

So far I can cycle through the (6) response docs and get a handle on the correct (background) one using this code:

Set doc = dc.GetFirstDocument
While Not (doc Is Nothing)
If doc.form(0) = "CheckMTNewProduct" Then
MsgBox("Found it!")

So my question is: how can i open this doc for my users to edit?
I've done this:
unid = doc.UniversalID
but now sure what to to with it...:-)

Any suggestions / code snippets?

edit a doc from a notesdocumentcoll... (~Yentl Opresask... 22.Jan.04)
. . RE: edit a doc from a notesdocument... (~Sven Kifoogenl... 22.Jan.04)
. . . . (updated) edit a doc from a notesdo... (~Yentl Opresask... 22.Jan.04)
. . . . . . RE: (updated) edit a doc from a not... (~Bill Frokimari... 22.Jan.04)

  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS